export declare namespace RespDataType {

    export interface DepartmentItem {
        deptId: number;
        deptName: string;
    }

    export interface UserItem {
        createTime: string;
        nickName: string;
        phonenumber: string;
        status: string;
        dept: DepartmentItem;
        userId: number;
        deptId: number;
        userName: string;
        password: string;
        email: string;
        sex: string;
        remark: string;
        postIds: number[];
        roleIds: number[];
    }
}

export declare namespace RequestDataType {
    export interface CreateUserItem {
        deptId: number;
        userName: string;
        nickName: string;
        password: string;
        phonenumber: string;
        email: string;
        sex: string;
        status: string;
        remark: string;
        postIds: number[];
        roleIds: number[];
    }

    export interface UpdateUserItem extends CreateUserItem{
        userId: number;
    }
}
